3.6.45 \(\int \frac {(1+x) (1+2 x+x^2)^5}{x^{19}} \, dx\)

Optimal. Leaf size=85 \[ -\frac {(x+1)^{12}}{18 x^{18}}+\frac {(x+1)^{12}}{51 x^{17}}-\frac {5 (x+1)^{12}}{816 x^{16}}+\frac {(x+1)^{12}}{612 x^{15}}-\frac {(x+1)^{12}}{2856 x^{14}}+\frac {(x+1)^{12}}{18564 x^{13}}-\frac {(x+1)^{12}}{222768 x^{12}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {27, 45, 37} \begin {gather*} -\frac {(x+1)^{12}}{222768 x^{12}}+\frac {(x+1)^{12}}{18564 x^{13}}-\frac {(x+1)^{12}}{2856 x^{14}}+\frac {(x+1)^{12}}{612 x^{15}}-\frac {5 (x+1)^{12}}{816 x^{16}}+\frac {(x+1)^{12}}{51 x^{17}}-\frac {(x+1)^{12}}{18 x^{18}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((1 + x)*(1 + 2*x + x^2)^5)/x^19,x]

[Out]

-(1 + x)^12/(18*x^18) + (1 + x)^12/(51*x^17) - (5*(1 + x)^12)/(816*x^16) + (1 + x)^12/(612*x^15) - (1 + x)^12/
(2856*x^14) + (1 + x)^12/(18564*x^13) - (1 + x)^12/(222768*x^12)

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 37

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n +
1))/((b*c - a*d)*(m + 1)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n + 2, 0] && NeQ
[m, -1]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^(n + 1
))/((b*c - a*d)*(m + 1)), x] - Dist[(d*Simplify[m + n + 2])/((b*c - a*d)*(m + 1)), Int[(a + b*x)^Simplify[m +
1]*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[b*c - a*d, 0] && ILtQ[Simplify[m + n + 2], 0] &&
 NeQ[m, -1] &&  !(LtQ[m, -1] && LtQ[n, -1] && (EqQ[a, 0] || (NeQ[c, 0] && LtQ[m - n, 0] && IntegerQ[n]))) && (
SumSimplerQ[m, 1] ||  !SumSimplerQ[n, 1])

Rubi steps

\begin {align*} \int \frac {(1+x) \left (1+2 x+x^2\right )^5}{x^{19}} \, dx &=\int \frac {(1+x)^{11}}{x^{19}} \, dx\\ &=-\frac {(1+x)^{12}}{18 x^{18}}-\frac {1}{3} \int \frac {(1+x)^{11}}{x^{18}} \, dx\\ &=-\frac {(1+x)^{12}}{18 x^{18}}+\frac {(1+x)^{12}}{51 x^{17}}+\frac {5}{51} \int \frac {(1+x)^{11}}{x^{17}} \, dx\\ &=-\frac {(1+x)^{12}}{18 x^{18}}+\frac {(1+x)^{12}}{51 x^{17}}-\frac {5 (1+x)^{12}}{816 x^{16}}-\frac {5}{204} \int \frac {(1+x)^{11}}{x^{16}} \, dx\\ &=-\frac {(1+x)^{12}}{18 x^{18}}+\frac {(1+x)^{12}}{51 x^{17}}-\frac {5 (1+x)^{12}}{816 x^{16}}+\frac {(1+x)^{12}}{612 x^{15}}+\frac {1}{204} \int \frac {(1+x)^{11}}{x^{15}} \, dx\\ &=-\frac {(1+x)^{12}}{18 x^{18}}+\frac {(1+x)^{12}}{51 x^{17}}-\frac {5 (1+x)^{12}}{816 x^{16}}+\frac {(1+x)^{12}}{612 x^{15}}-\frac {(1+x)^{12}}{2856 x^{14}}-\frac {\int \frac {(1+x)^{11}}{x^{14}} \, dx}{1428}\\ &=-\frac {(1+x)^{12}}{18 x^{18}}+\frac {(1+x)^{12}}{51 x^{17}}-\frac {5 (1+x)^{12}}{816 x^{16}}+\frac {(1+x)^{12}}{612 x^{15}}-\frac {(1+x)^{12}}{2856 x^{14}}+\frac {(1+x)^{12}}{18564 x^{13}}+\frac {\int \frac {(1+x)^{11}}{x^{13}} \, dx}{18564}\\ &=-\frac {(1+x)^{12}}{18 x^{18}}+\frac {(1+x)^{12}}{51 x^{17}}-\frac {5 (1+x)^{12}}{816 x^{16}}+\frac {(1+x)^{12}}{612 x^{15}}-\frac {(1+x)^{12}}{2856 x^{14}}+\frac {(1+x)^{12}}{18564 x^{13}}-\frac {(1+x)^{12}}{222768 x^{12}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 81, normalized size = 0.95 \begin {gather*} -\frac {1}{18 x^{18}}-\frac {11}{17 x^{17}}-\frac {55}{16 x^{16}}-\frac {11}{x^{15}}-\frac {165}{7 x^{14}}-\frac {462}{13 x^{13}}-\frac {77}{2 x^{12}}-\frac {30}{x^{11}}-\frac {33}{2 x^{10}}-\frac {55}{9 x^9}-\frac {11}{8 x^8}-\frac {1}{7 x^7} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((1 + x)*(1 + 2*x + x^2)^5)/x^19,x]

[Out]

-1/18*1/x^18 - 11/(17*x^17) - 55/(16*x^16) - 11/x^15 - 165/(7*x^14) - 462/(13*x^13) - 77/(2*x^12) - 30/x^11 -
33/(2*x^10) - 55/(9*x^9) - 11/(8*x^8) - 1/(7*x^7)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(1+x) \left (1+2 x+x^2\right )^5}{x^{19}} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((1 + x)*(1 + 2*x + x^2)^5)/x^19,x]

[Out]

IntegrateAlgebraic[((1 + x)*(1 + 2*x + x^2)^5)/x^19, x]

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 60, normalized size = 0.71 \begin {gather*} -\frac {31824 \, x^{11} + 306306 \, x^{10} + 1361360 \, x^{9} + 3675672 \, x^{8} + 6683040 \, x^{7} + 8576568 \, x^{6} + 7916832 \, x^{5} + 5250960 \, x^{4} + 2450448 \, x^{3} + 765765 \, x^{2} + 144144 \, x + 12376}{222768 \, x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x^2+2*x+1)^5/x^19,x, algorithm="fricas")

[Out]

-1/222768*(31824*x^11 + 306306*x^10 + 1361360*x^9 + 3675672*x^8 + 6683040*x^7 + 8576568*x^6 + 7916832*x^5 + 52
50960*x^4 + 2450448*x^3 + 765765*x^2 + 144144*x + 12376)/x^18

________________________________________________________________________________________

giac [A]  time = 0.15, size = 60, normalized size = 0.71 \begin {gather*} -\frac {31824 \, x^{11} + 306306 \, x^{10} + 1361360 \, x^{9} + 3675672 \, x^{8} + 6683040 \, x^{7} + 8576568 \, x^{6} + 7916832 \, x^{5} + 5250960 \, x^{4} + 2450448 \, x^{3} + 765765 \, x^{2} + 144144 \, x + 12376}{222768 \, x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x^2+2*x+1)^5/x^19,x, algorithm="giac")

[Out]

-1/222768*(31824*x^11 + 306306*x^10 + 1361360*x^9 + 3675672*x^8 + 6683040*x^7 + 8576568*x^6 + 7916832*x^5 + 52
50960*x^4 + 2450448*x^3 + 765765*x^2 + 144144*x + 12376)/x^18

________________________________________________________________________________________

maple [A]  time = 0.05, size = 62, normalized size = 0.73 \begin {gather*} -\frac {1}{7 x^{7}}-\frac {11}{8 x^{8}}-\frac {55}{9 x^{9}}-\frac {33}{2 x^{10}}-\frac {30}{x^{11}}-\frac {77}{2 x^{12}}-\frac {462}{13 x^{13}}-\frac {165}{7 x^{14}}-\frac {11}{x^{15}}-\frac {55}{16 x^{16}}-\frac {11}{17 x^{17}}-\frac {1}{18 x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x+1)*(x^2+2*x+1)^5/x^19,x)

[Out]

-462/13/x^13-77/2/x^12-11/8/x^8-33/2/x^10-11/x^15-55/9/x^9-55/16/x^16-1/18/x^18-1/7/x^7-165/7/x^14-11/17/x^17-
30/x^11

________________________________________________________________________________________

maxima [A]  time = 0.57, size = 60, normalized size = 0.71 \begin {gather*} -\frac {31824 \, x^{11} + 306306 \, x^{10} + 1361360 \, x^{9} + 3675672 \, x^{8} + 6683040 \, x^{7} + 8576568 \, x^{6} + 7916832 \, x^{5} + 5250960 \, x^{4} + 2450448 \, x^{3} + 765765 \, x^{2} + 144144 \, x + 12376}{222768 \, x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x^2+2*x+1)^5/x^19,x, algorithm="maxima")

[Out]

-1/222768*(31824*x^11 + 306306*x^10 + 1361360*x^9 + 3675672*x^8 + 6683040*x^7 + 8576568*x^6 + 7916832*x^5 + 52
50960*x^4 + 2450448*x^3 + 765765*x^2 + 144144*x + 12376)/x^18

________________________________________________________________________________________

mupad [B]  time = 1.06, size = 60, normalized size = 0.71 \begin {gather*} -\frac {\frac {x^{11}}{7}+\frac {11\,x^{10}}{8}+\frac {55\,x^9}{9}+\frac {33\,x^8}{2}+30\,x^7+\frac {77\,x^6}{2}+\frac {462\,x^5}{13}+\frac {165\,x^4}{7}+11\,x^3+\frac {55\,x^2}{16}+\frac {11\,x}{17}+\frac {1}{18}}{x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((x + 1)*(2*x + x^2 + 1)^5)/x^19,x)

[Out]

-((11*x)/17 + (55*x^2)/16 + 11*x^3 + (165*x^4)/7 + (462*x^5)/13 + (77*x^6)/2 + 30*x^7 + (33*x^8)/2 + (55*x^9)/
9 + (11*x^10)/8 + x^11/7 + 1/18)/x^18

________________________________________________________________________________________

sympy [A]  time = 0.21, size = 61, normalized size = 0.72 \begin {gather*} \frac {- 31824 x^{11} - 306306 x^{10} - 1361360 x^{9} - 3675672 x^{8} - 6683040 x^{7} - 8576568 x^{6} - 7916832 x^{5} - 5250960 x^{4} - 2450448 x^{3} - 765765 x^{2} - 144144 x - 12376}{222768 x^{18}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1+x)*(x**2+2*x+1)**5/x**19,x)

[Out]

(-31824*x**11 - 306306*x**10 - 1361360*x**9 - 3675672*x**8 - 6683040*x**7 - 8576568*x**6 - 7916832*x**5 - 5250
960*x**4 - 2450448*x**3 - 765765*x**2 - 144144*x - 12376)/(222768*x**18)

________________________________________________________________________________________